﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace teach
{
    public class SongChoices : Question
    {
        public SongChoices()
        {
            m_message = "Quelle est la chanson?";
        }

        public override object Answer
        {
            get
            {
                return Properties["Good"];
            }
        }

        public override bool CheckAnswer(object userAnswer)
        {
            return (userAnswer.ToString().Trim() == Answer.ToString().Trim());
        }

        public override void GenerateValues(Preference pref)
        {
            this.Timeout = pref.Timeout * 1000;
        }
    }
}
